package com.xxniu.app.singleton.hungry;

/**
 * 饿汉式单例
 */
public class HungrySingleton {

    private static final HungrySingleton instance = new HungrySingleton();

    private HungrySingleton () {
    }

    public static HungrySingleton getInstance(){
        return instance;
    }

}
